*:focus {
    outline: none; /* Prevents blue border in Webkit */
}
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; /*  */
}

#top_bit {
    width: 760px;
    margin: 0 auto;
}

form {

    margin-left: auto;
    margin-right: auto;
}

#part {
    width: 400px;
    background: #ffffff;
    margin: 20px auto;
    border: 1px solid #444;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
}

p {
    line-height: 1.6;
}

fieldset {
    border: 2px solid green
}

legend {
    padding: 0.2em 0.5em;
    border: 2px solid green;
    color: green;
    font-size: 130%;
    text-align: left;
}

input, textarea {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #faf;
    border: 2px solid #454545;
    font-size: 16px;
    width: 192px;
    min-height: 24px;
    display: block;
    
    margin-bottom: 16px;
    margin-top: 8px;
    
    padding-left: 4px;
    padding-right: 4px;
    
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

textarea {
    min-height: 200px;
    background: #ffffff;
}

input:focus, textarea:focus {
    -webkit-box-shadow: 0 0 25px #111;
    -moz-box-shadow: 0 0 25px #111;
    box-shadow: 0 0 25px #111;
    
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    
    -webkit-transform: scale(1.00);
    -moz-transform: scale(1.00);
    transform: scale(1.00);
}

input:not(:focus), textarea:not(:focus) {
    opacity: 0.5;
}

input:required, textarea:required {
    background: url("asterisk_orange.png") no-repeat 180px 7px;
}

input:valid, textarea:valid {
    background: url("tick.png") no-repeat 180px 5px;
}

input:focus:invalid, textarea:focus:invalid {
    background: url("cancel.png") no-repeat 180px 7px;
}

input[type=submit] {
    padding: 10px;
    background: none;
    opacity: 1.0;
}
